Initial state

Description

Defines whether the contents of a modern frame with a show/hide button should be initially shown or hidden. This property is only available if the Has show/hide button property is checked.

Discussion

If the Frame type for a frame is set to 'Modern', the contents of the frame can be shown or hidden by clicking an optional show/hide button. The Initial state property defines the initial state of the modern frame. The following options are available:

State
Description
Shown

The frame is expanded and the contents of the frame are visible.

Hidden

The frame is collapsed and the contents of the frame are not visible.

The images below demonstrate the two states:

images/modernFrameOpen.png
Initial state set to 'Shown'.
images/modernFrameClosed.png
Initial state set to 'Hidden'.